<?php

namespace sheep\traits;

use think\db\BaseQuery as Query;
use think\Model;

trait ShopScope
{
    public function db($scope = []): Query
    {
        $query = parent::db($scope);
        $query->where('organ_id', 1);
        return $query;
    }
}